import os
# 1.从文件中读取 大数A、大数B 和 运算符号flag
input_path = 'plus.in'
output_path = 'plus.out'
content = []
# print(os.getcwd())
os.chdir(os.path.dirname(__file__))
with open(input_path) as file_obj:
    for line in file_obj:
        content.append(line.rstrip())
# for i in content:
#     print(i)

A = int(content[0])
B = int(content[2])
flag = content[1]

# 2.判断 flag 符号 , 然后计算得出 ans
    # 2.1 +  用大数进行 A + B
if (flag == '+'):
    # ans = sumab(A, B)
    ans = A + B
    # 2.2 *
elif (flag == '*'):
    # ans = multi(A, B)
    ans = A * B
with open(output_path,'w') as file_obj :
    file_obj.write(str(ans) + '\n')